package com.zzyl.service;

import com.zzyl.dto.ResourceListDto;
import com.zzyl.dto.addResourceDto;
import com.zzyl.entity.Resource;
import com.zzyl.vo.MenuVo;
import com.zzyl.vo.TreeVo;

import java.util.List;

public interface ResourceService {
    List<Resource> getResourceList(ResourceListDto dto);

    TreeVo getResourceTree();

    void addResource(addResourceDto dto);

    List<Resource> getAllResourceById(Long id);

    List<MenuVo> getMenuResourceByUserId(Long userId);

    List<String> getAllResourceLabelByPath(List<String> publicAccessUrls);
}
